projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e840e
)
Fix tests for polarity of coords on output.
author
robertl
<robertl>
Tue, 25 Feb 2003 19:04:45 +0000
(19:04 +0000)
committer
robertl
<robertl>
Tue, 25 Feb 2003 19:04:45 +0000
(19:04 +0000)
magproto.c
patch
|
blob
|
history
diff --git
a/magproto.c
b/magproto.c
index 5bc44b054e513c034dbe1641f4622c2315af9db8..ab038c2c8b560d823d61da3459bf741c2455177d 100644
(file)
--- a/
magproto.c
+++ b/
magproto.c
@@
-1102,8
+1102,8
@@
mag_waypt_pr(const waypoint *waypointp)
}
sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.30s,%s",
- lat, il
on < 0 ? 'N' : 'S
',
- lon, il
at < 0 ? 'E' : 'W
',
+ lat, il
at < 0 ? 'S' : 'N
',
+ lon, il
on < 0 ? 'W' : 'E
',
waypointp->position.altitude.altitude_meters == unknown_alt ?
0 : waypointp->position.altitude.altitude_meters,
owpt,